package com.baor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("menu")
public class MenuVO {

    @TableId(type= IdType.AUTO)
    private Integer id;
    private Integer parentId;
    private String name;
    private String title;
    private String path;
    private String component;
    private String visible;
    private String icon;
    private String created_at;
    private String updated_at;
    private String is_deleted;
    private Integer isLeft;
    private Integer orders;
    @TableField(exist = false)
    private List<MenuVO> childList;

}
